
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>调试 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="5.7.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" >
            
                <a target="_blank" href="https://github.com/xfl03/CoreModTutor">
            
                    
                    源代码仓库（求star）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    目录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="0.html">
            
                <a href="0.html">
            
                    
                    0 绪论
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    1 简介
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="1.1.html">
            
                <a href="1.1.html">
            
                    
                    CoreMod
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="1.2.html">
            
                <a href="1.2.html">
            
                    
                    Java虚拟机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="1.3.html">
            
                <a href="1.3.html">
            
                    
                    Minecraft混淆方式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    2 Java虚拟机
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" >
            
                <span>
            
                    
                    ClassLoader类加载器
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" >
            
                <span>
            
                    
                    ByteCode字节码
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" >
            
                <span>
            
                    
                    ASM
            
                </span>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    3 原版 CoreMod
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="3.1.html">
            
                <a href="3.1.html">
            
                    
                    直接修改class文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="3.2.html">
            
                <a href="3.2.html">
            
                    
                    JavaAgent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="3.3.html">
            
                <a href="3.3.html">
            
                    
                    LaunchWrapper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="3.4.html">
            
                <a href="3.4.html">
            
                    
                    ModLauncher
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" >
            
                <span>
            
                    
                    4 FML CoreMod
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="4.1.html">
            
                <a href="4.1.html">
            
                    
                    1.3.2-1.5.2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="4.2.html">
            
                <a href="4.2.html">
            
                    
                    1.6.1-1.12.2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="4.3.html">
            
                <a href="4.3.html">
            
                    
                    1.13.2-1.14.4
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="5.html">
            
                <a href="5.html">
            
                    
                    5 Mixin
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="5.1.html">
            
                <a href="5.1.html">
            
                    
                    配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="5.2.html">
            
                <a href="5.2.html">
            
                    
                    引导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="5.3.html">
            
                <a href="5.3.html">
            
                    
                    注入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="5.4.html">
            
                <a href="5.4.html">
            
                    
                    修改
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.5" data-path="5.5.html">
            
                <a href="5.5.html">
            
                    
                    定位
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.6" data-path="5.6.html">
            
                <a href="5.6.html">
            
                    
                    融合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.7" data-path="5.7.html">
            
                <a href="5.7.html">
            
                    
                    扩展
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.8.8" data-path="5.8.html">
            
                <a href="5.8.html">
            
                    
                    调试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" >
            
                <span>
            
                    
                    附录
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="附录A.html">
            
                <a href="附录A.html">
            
                    
                    附录A 相关工具下载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="附录B.html">
            
                <a href="附录B.html">
            
                    
                    附录B 常见Java字节码指令表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="附录C.html">
            
                <a href="附录C.html">
            
                    
                    附录C 参考资料
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >调试</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x8C03;&#x8BD5;">&#x8C03;&#x8BD5;</h1>
<p>Mixin&#x63D0;&#x4F9B;&#x4E86;&#x4E00;&#x4E9B;&#x7528;&#x4E8E;&#x8C03;&#x8BD5;&#x7684;&#x7CFB;&#x7EDF;&#x53C2;&#x6570;&#x6216;&#x8005;&#x6CE8;&#x89E3;&#x5C5E;&#x6027;</p>
<h2 id="&#x8C03;&#x8BD5;&#x53C2;&#x6570;">&#x8C03;&#x8BD5;&#x53C2;&#x6570;</h2>
<p>Wiki&#xFF1A; <a href="https://github.com/SpongePowered/Mixin/wiki/Mixin-Java-System-Properties" target="_blank">Mixin Java System Properties</a><br>&#x6587;&#x6863;&#xFF1A; <a href="http://jenkins.liteloader.com/job/Mixin/javadoc/org/spongepowered/asm/mixin/MixinEnvironment.Option.html" target="_blank">MixinEnvironment.Option</a></p>
<ul>
<li><code>mixin.debug</code>: &#x542F;&#x7528;&#x6240;&#x6709;&#x8C03;&#x8BD5;&#x9009;&#x9879;</li>
<li><code>mixin.debug.export</code>: &#x5BFC;&#x51FA;&#x6240;&#x6709;&#x5408;&#x5E76;&#x540E;&#x7684;&#x7C7B;&#x6587;&#x4EF6;&#x81F3;<code>.mixin.out</code>&#x6587;&#x4EF6;&#x5939;&#x5185;&#xFF0C;&#x5982;&#x679C;&#x5728;&#x7C7B;&#x8DEF;&#x5F84;&#x4E2D;&#x5B58;&#x5728;<code>Fernflower</code>&#x53CD;&#x7F16;&#x8BD1;&#x5668;&#xFF0C;&#x8FD8;&#x4F1A;&#x8F93;&#x51FA;&#x53CD;&#x7F16;&#x8BD1;&#x540E;&#x7684;&#x6587;&#x4EF6;</li>
<li><code>mixin.debug.export.filter</code>: &#x4E00;&#x4E2A;&#x7528;&#x4E8E;&#x6307;&#x5B9A;&#x8981;&#x5BFC;&#x51FA;&#x54EA;&#x4E9B;&#x7C7B;&#x7684;&#x8FC7;&#x6EE4;&#x5668;&#xFF0C;&#x5982;&#x679C;&#x9700;&#x8981;&#x53CD;&#x7F16;&#x8BD1;&#xFF0C;&#x8FD9;&#x4E2A;&#x5C5E;&#x6027;&#x975E;&#x5E38;&#x6709;&#x7528;&#xFF0C;&#x56E0;&#x4E3A;&#x53CD;&#x7F16;&#x8BD1;&#x6240;&#x6709;&#x7C7B;&#x9700;&#x8981;&#x6D88;&#x8017;&#x8F83;&#x957F;&#x65F6;&#x95F4;&#xFF0C;&#x652F;&#x6301;&#x4EE5;&#x4E0B;&#x6A21;&#x7CCA;&#x5339;&#x914D;&#x89C4;&#x5219;&#xFF1A;<ul>
<li><code>*</code> : &#x5339;&#x914D;&#x4E00;&#x4E2A;&#x6216;&#x591A;&#x4E2A;&#x5B57;&#x7B26;&#xFF0C;&#x9664;&#x4E86;&#x70B9;(<code>.</code>)</li>
<li><code>**</code> : &#x5339;&#x914D;&#x4EFB;&#x610F;&#x6570;&#x91CF;&#x7684;&#x5B57;&#x7B26;</li>
<li><code>?</code> : &#x5339;&#x914D;&#x5355;&#x4E2A;&#x4EFB;&#x610F;&#x5B57;&#x7B26;</li>
</ul>
</li>
<li><code>mixin.debug.export.decompile</code>: &#x542F;&#x7528;&#x53CD;&#x7F16;&#x8BD1;&#xFF0C;&#x4EC5;&#x5F53;&#x7C7B;&#x8DEF;&#x5F84;&#x4E2D;&#x5B58;&#x5728;<code>Fernflower</code>&#x53CD;&#x7F16;&#x8BD1;&#x5668;&#x65F6;&#x6709;&#x6548;</li>
<li><code>mixin.debug.export.decompile.async</code>: &#x542F;&#x7528;&#x72EC;&#x7ACB;&#x7684;&#x7EBF;&#x7A0B;&#x53CD;&#x7F16;&#x8BD1;&#xFF0C;&#x901A;&#x5E38;&#x4F1A;&#x5927;&#x5927;&#x7F29;&#x77ED;&#x53CD;&#x7F16;&#x8BD1;&#x5BFC;&#x81F4;&#x7684;&#x542F;&#x52A8;&#x6E38;&#x620F;&#x7684;&#x65F6;&#x95F4;&#x3002;&#x5982;&#x679C;&#x542F;&#x52A8;&#x4E2D;&#x6E38;&#x620F;&#x5D29;&#x6E83;&#xFF0C;&#x5219;&#x53EF;&#x80FD;&#x4F1A;&#x8F93;&#x51FA;&#x672A;&#x53CD;&#x7F16;&#x8BD1;&#x7684;&#x7C7B;</li>
<li><code>mixin.debug.export.decompile.mergeGenericSignatures</code>: &#x5982;&#x679C;&#x542F;&#x7528;&#x53CD;&#x7F16;&#x8BD1;&#x5668;&#xFF0C;&#x90A3;&#x4E48;&#x4F1A;&#x5408;&#x5E76;&#x6CE8;&#x5165;&#x7C7B;&#x4E2D;&#x7684;&#x6CDB;&#x578B;&#x7B7E;&#x540D;&#xFF0C;&#x6709;&#x65F6;&#x5019;&#x4F1A;&#x8BA9;&#x67D0;&#x4E9B;&#x8FDB;&#x884C;&#x6CDB;&#x578B;&#x9A8C;&#x8BC1;&#x7684;&#x5B50;&#x7CFB;&#x7EDF;&#x51FA;&#x73B0;&#x95EE;&#x9898;&#xFF0C;&#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#x7981;&#x7528;&#x6CDB;&#x578B;&#x5408;&#x5E76;</li>
<li><code>mixin.debug.verify</code>: &#x68C0;&#x67E5;Mixin&#x662F;&#x5426;&#x6B63;&#x786E;&#x6CE8;&#x5165;&#xFF0C;&#x4EC5;&#x5F53;&#x8C03;&#x8BD5;Mixin&#x5E93;&#x672C;&#x8EAB;&#x7684;&#x65F6;&#x5019;&#x624D;&#x5EFA;&#x8BAE;&#x542F;&#x7528;&#xFF0C;&#x7528;&#x4E8E;&#x8C03;&#x8BD5;&#x4F7F;&#x7528;Mixin&#x7684;&#x6A21;&#x7EC4;&#x5219;&#x4E0D;&#x5EFA;&#x8BAE;&#x542F;&#x7528;</li>
<li><code>mixin.debug.verbose</code>: &#x5C06;<code>DEBUG</code>&#x7EA7;&#x522B;&#x7684;&#x65E5;&#x5FD7;&#x6D88;&#x606F;&#x964D;&#x4F4E;&#x4E3A;<code>INFO</code>&#x7EA7;&#x522B;&#xFF0C;&#x8FD9;&#x6837;&#x5C31;&#x80FD;&#x5728;&#x8FD0;&#x884C;&#x65F6;&#x5728;&#x63A7;&#x5236;&#x53F0;&#x4E2D;&#x663E;&#x793A;&#x66F4;&#x591A;&#x4FE1;&#x606F;</li>
<li><code>mixin.debug.countInjections</code>: &#x53C2;&#x89C1;<code>@Inject.expect</code>&#x5C5E;&#x6027;&#x6587;&#x6863;</li>
<li><code>mixin.debug.strict</code>: &#x542F;&#x7528;&#x4E25;&#x683C;&#x7684;&#x68C0;&#x67E5;</li>
<li><code>mixin.debug.strict.unique</code>: &#x5982;&#x679C;&#x542F;&#x7528;&#xFF0C;&#x5219;<code>@Unique</code>&#x65B9;&#x6CD5;&#x5728;&#x9047;&#x5230;&#x76F8;&#x540C;&#x65B9;&#x6CD5;&#x7B7E;&#x540D;&#x7684;&#x65B9;&#x6CD5;&#x65F6;&#x4F1A;&#x76F4;&#x63A5;&#x629B;&#x51FA;&#x5F02;&#x5E38;&#x7EC8;&#x6B62;&#x6E38;&#x620F;&#xFF0C;&#x800C;&#x4E0D;&#x662F;&#x9ED8;&#x8BA4;&#x7684;&#x4EC5;&#x5728;&#x63A7;&#x5236;&#x53F0;&#x6253;&#x5370;&#x8B66;&#x544A;</li>
<li><code>mixin.debug.strict.targets</code>: &#x542F;&#x7528;&#x5BF9;&#x6CE8;&#x5165;&#x76EE;&#x6807;&#x4E25;&#x683C;&#x7684;&#x68C0;&#x67E5;</li>
<li><code>mixin.debug.profiler</code>: &#x542F;&#x7528;&#x6027;&#x80FD;&#x5206;&#x6790;</li>
<li><code>mixin.dumpTargetOnFailure</code>: &#x901A;&#x5E38;&#x5728;Mixin&#x4F7F;&#x7528;&#x65F6;&#x51FA;&#x73B0;&#x5F02;&#x5E38;&#x540E;&#x4F1A;&#x6253;&#x5370;&#x4E00;&#x4E9B;&#x6D88;&#x606F;&#xFF0C;&#x6709;&#x65F6;&#x5019;&#x8FD9;&#x4E9B;&#x6D88;&#x606F;&#x5E76;&#x4E0D;&#x51C6;&#x786E;&#xFF0C;&#x901A;&#x5E38;&#x662F;&#x5176;&#x4ED6;CoreMod&#x5BF9;&#x76F8;&#x5173;&#x7684;&#x76EE;&#x6807;&#x8FDB;&#x884C;&#x4E86;&#x66F4;&#x6539;&#xFF0C;&#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#x5141;&#x8BB8;&#x8F93;&#x51FA;&#x5E94;&#x7528;Mixin&#x524D;&#x7684;&#x7C7B;&#x6587;&#x4EF6;&#x5230;<code>.mixin.out</code>&#x6587;&#x4EF6;&#x5939;&#x5185;&#xFF0C;&#x4EE5;&#x786E;&#x5B9A;&#x51FA;&#x73B0;&#x5F02;&#x5E38;&#x7684;&#x539F;&#x56E0;</li>
<li><code>mixin.checks</code>: &#x542F;&#x7528;&#x6240;&#x6709;&#x68C0;&#x67E5;&#x9009;&#x9879;</li>
<li><code>mixin.checks.interfaces</code>: &#x68C0;&#x67E5;&#x4F7F;&#x7528;<code>@Inplements</code>&#x5B9E;&#x73B0;&#x7684;&#x63A5;&#x53E3;&#xFF0C;&#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#xFF0C;&#x4F1A;&#x5728;&#x63A7;&#x5236;&#x53F0;&#x8F93;&#x51FA;&#x4E00;&#x4E2A;&#x62A5;&#x544A;&#xFF0C;&#x6307;&#x793A;&#x4E86;&#x54EA;&#x4E9B;&#x65B9;&#x6CD5;&#x672A;&#x5B9E;&#x73B0;&#xFF0C;&#x8C03;&#x7528;&#x8FD9;&#x4E9B;&#x65B9;&#x6CD5;&#x65F6;&#xFF0C;&#x4F1A;&#x629B;&#x51FA;<code>AbstractMethodError</code>&#x9519;&#x8BEF;&#x3002;&#x62A5;&#x544A;&#x4F1A;&#x751F;&#x6210;&#x5728;<code>.mixin.out</code>&#x6587;&#x4EF6;&#x5939;&#x4E0B;</li>
<li><code>mixin.checks.interfaces.strict</code>: &#x5F53;&#x542F;&#x7528;&#x4E86;<code>mixin.checks.interfaces</code>&#xFF0C;&#x4F46;&#x672A;&#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#xFF0C;Mixin&#x4F1A;&#x8DF3;&#x8FC7;&#x5BF9;&#x76EE;&#x6807;&#x7C7B;&#x662F;&#x62BD;&#x8C61;&#x7C7B;&#x7684;&#x68C0;&#x67E5;&#xFF0C;&#x5982;&#x679C;&#x542F;&#x7528;&#x4E86;&#x6B64;&#x5C5E;&#x6027;&#xFF0C;&#x62BD;&#x8C61;&#x7C7B;&#x4E5F;&#x5C06;&#x88AB;&#x68C0;&#x67E5;</li>
<li><code>mixin.ignoreConstraints</code>: &#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#xFF0C;&#x4F1A;&#x5BF9;&#x6CE8;&#x5165;&#x6CE8;&#x89E3;&#x4E2D;&#x7684;<code>constraints</code>&#x5C5E;&#x6027;&#x7684;&#x68C0;&#x67E5;&#x51FA;&#x73B0;&#x5F02;&#x5E38;&#x540E;&#x7684;&#x629B;&#x51FA;&#x9519;&#x8BEF;&#x964D;&#x7EA7;&#x4E3A;&#x4EC5;&#x5728;&#x63A7;&#x5236;&#x53F0;&#x8F93;&#x51FA;&#x4E00;&#x4E2A;&#x8B66;&#x544A;</li>
<li><code>mixin.hotSwap</code>: &#x542F;&#x7528;&#x70ED;&#x52A0;&#x8F7D;(?)&#xFF0C;&#x5982;&#x679C;&#x7528;<code>-javaagent</code>&#x53C2;&#x6570;&#x52A0;&#x8F7D;Mixin&#x7684;jar&#x5305;&#xFF0C;&#x5219;&#x4F1A;&#x81EA;&#x52A8;&#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;</li>
<li><code>mixin.env</code>: &#x610F;&#x4E49;&#x4E0D;&#x660E;&#xFF0C;Mixin&#x5E76;&#x672A;&#x4F7F;&#x7528;&#x8FC7;&#x6B64;&#x5C5E;&#x6027;&#xFF0C;&#x53EF;&#x80FD;&#x662F;&#x4EC5;&#x4E3A;&#x4E86;&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;&#x800C;&#x5B58;&#x5728;</li>
<li><code>mixin.env.obf</code>: &#x542F;&#x7528;&#x5F3A;&#x5236;&#x4F7F;&#x7528;mcp name</li>
<li><code>mixin.env.disableRefMap</code>: &#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#x4F1A;&#x7981;&#x7528;&#x6620;&#x5C04;&#x8868;</li>
<li><code>mixin.env.remapRefMap</code>: &#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#x9700;&#x8981;&#x624B;&#x52A8;&#x6307;&#x5B9A;&#x6620;&#x5C04;&#x8868;</li>
<li><code>mixin.env.refMapRemappingFile</code>: &#x624B;&#x52A8;&#x6307;&#x5B9A;&#x4E00;&#x4E2A;&#x6620;&#x5C04;&#x5230;searge name&#x7684;&#x6620;&#x5C04;&#x8868;&#xFF0C;&#x4EC5;&#x5F53;<code>mixin.env.remapRefMap</code>&#x542F;&#x7528;&#x65F6;&#x6709;&#x6548;</li>
<li><code>mixin.env.refMapRemappingEnv</code>: &#x5982;&#x679C;<code>mixin.env.refMapRemappingFile</code>&#x6307;&#x5B9A;&#x7684;&#x6620;&#x5C04;&#x8868;&#x4E0D;&#x662F;&#x6620;&#x5C04;&#x5230;searge name&#x7684;&#xFF0C;&#x9700;&#x8981;&#x8BBE;&#x7F6E;&#x6B64;&#x5C5E;&#x6027;&#x6307;&#x5B9A;&#x6620;&#x5C04;&#x8868;&#x6307;&#x5411;notch name&#x8FD8;&#x662F;mcp name</li>
<li><code>mixin.env.allowPermissiveMatch</code>: &#x6B64;&#x5C5E;&#x6027;&#x9ED8;&#x8BA4;&#x542F;&#x7528;&#xFF0C;&#x6548;&#x679C;&#x662F;&#x5F53;&#x542F;&#x7528;&#x4E86;<code>mixin.env.remapRefMap</code>&#x5C5E;&#x6027;&#x65F6;&#xFF0C;&#x53EA;&#x5339;&#x914D;&#x76EE;&#x6807;&#x7684;&#x540D;&#x79F0;&#xFF0C;&#x4E0D;&#x5339;&#x914D;&#x76EE;&#x6807;&#x7684;&#x7C7B;&#x578B;/&#x53C2;&#x6570;&#x7C7B;&#x578B;&#xFF0C;&#x5C06;&#x6B64;&#x5C5E;&#x6027;&#x8BBE;&#x7F6E;&#x4E3A;<code>false</code>&#x5219;&#x7981;&#x7528;&#x6B64;&#x884C;&#x4E3A;</li>
<li><code>mixin.env.ignoreRequired</code>: &#x542F;&#x7528;&#x6B64;&#x5C5E;&#x6027;&#x5219;&#x5FFD;&#x7565;&#x6240;&#x6709;&#x6CE8;&#x89E3;&#x7684;<code>require</code>&#x5C5E;&#x6027;&#x8BBE;&#x7F6E;</li>
<li><code>mixin.env.compatLevel</code>: &#x8BBE;&#x7F6E;&#x517C;&#x5BB9;&#x7684;Java&#x6700;&#x4F4E;&#x7248;&#x672C;&#xFF0C;&#x4EC5;&#x6709;<code>JAVA_6</code>&#x3001;<code>JAVA_7</code>&#x3001;<code>JAVA_8</code>&#x3001;<code>JAVA_9</code>&#x56DB;&#x79CD;&#x9009;&#x62E9;</li>
<li><code>mixin.env.shiftByViolation</code>: &#x5F53;<code>@At.shift</code>&#x5C5E;&#x6027;&#x8BBE;&#x7F6E;&#x5F97;&#x8D85;&#x51FA;&#x6700;&#x5927;&#x5141;&#x8BB8;&#x7684;&#x503C;&#x65F6;&#xFF0C;&#x76EE;&#x524D;&#x4F1A;&#x629B;&#x4E00;&#x4E2A;&#x8B66;&#x544A;&#xFF0C;&#x9AD8;&#x7248;&#x672C;Mixin&#x53EF;&#x80FD;&#x4F1A;&#x629B;&#x51FA;&#x9519;&#x8BEF;&#xFF0C;&#x5141;&#x8BB8;&#x4EE5;&#x4E0B;&#x53D6;&#x503C;&#xFF1A;<ul>
<li><code>ignore</code>: Mixin 0.7&#x4EE5;&#x524D;&#x7248;&#x672C;&#x7684;&#x9ED8;&#x8BA4;&#x503C;&#xFF0C;&#x5FFD;&#x7565;&#x8B66;&#x544A;</li>
<li><code>warn</code>: &#x5F53;&#x524D;&#x7684;&#x9ED8;&#x8BA4;&#x503C;&#xFF0C;&#x6253;&#x5370;&#x4E00;&#x4E2A;&#x8B66;&#x544A;</li>
<li><code>error</code>: &#x76F4;&#x63A5;&#x629B;&#x51FA;&#x4E00;&#x4E2A;&#x9519;&#x8BEF;</li>
</ul>
</li>
<li><code>mixin.initialiserInjectionMode</code>: &#x8BBE;&#x7F6E;&#x521D;&#x59CB;&#x5316;&#x6CE8;&#x5165;&#x65F6;&#x7684;&#x884C;&#x4E3A;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;<code>default</code>&#xFF0C;&#x53EF;&#x4EE5;&#x6539;&#x4E3A;<code>safe</code></li>
</ul>
<h2 id="&#x8C03;&#x8BD5;&#x6CE8;&#x89E3;">&#x8C03;&#x8BD5;&#x6CE8;&#x89E3;</h2>
<ul>
<li><p><code>@Debug</code>&#xFF08;<a href="http://jenkins.liteloader.com/job/Mixin/javadoc/org/spongepowered/asm/mixin/Debug.html" target="_blank">&#x6587;&#x6863;</a>&#xFF09;<br>&#x6807;&#x8BB0;&#x5728;&#x6CE8;&#x5165;&#x7C7B;&#x6216;&#x8005;&#x6CE8;&#x5165;&#x65B9;&#x6CD5;&#x4E0A;</p>
<ul>
<li><code>export</code>: &#x4EC5;&#x5F53;&#x6B64;&#x6CE8;&#x89E3;&#x6807;&#x8BB0;&#x5728;&#x6CE8;&#x5165;&#x7C7B;&#x4E0A;&#x6709;&#x6548;&#x3002;&#x5F53;<code>mixin.debug.export</code>&#x672A;&#x8BBE;&#x7F6E;&#x65F6;&#xFF0C;&#x5141;&#x8BB8;&#x8F93;&#x51FA;&#x5355;&#x4E2A;&#x53CD;&#x7F16;&#x8BD1;&#x540E;&#x7684;&#x5408;&#x5E76;&#x7C7B;&#xFF0C;&#x4F46;&#x662F;&#x5F53;<code>mixin.debug.export</code>&#x8BBE;&#x7F6E;&#x4E3A;<code>false</code>&#x65F6;&#xFF0C;&#x9700;&#x8981;&#x8BBE;&#x7F6E;<code>mixin.debug.export.decompile</code>&#x4E3A;<code>true</code>&#x624D;&#x80FD;&#x6B63;&#x5E38;&#x8F93;&#x51FA;&#x3002;&#x8FD9;&#x4E2A;&#x5C5E;&#x6027;&#x5728;&#x5F53;&#x4F60;&#x4E0D;&#x60F3;&#x8F93;&#x51FA;&#x6240;&#x6709;&#x5408;&#x5E76;&#x7C7B;&#xFF0C;&#x53EA;&#x60F3;&#x8F93;&#x51FA;&#x5355;&#x4E2A;&#x5408;&#x5E76;&#x7C7B;&#x65F6;&#x975E;&#x5E38;&#x6709;&#x7528;</li>
<li><code>print</code>: &#x5728;&#x63A7;&#x5236;&#x53F0;&#x6253;&#x5370;&#x5408;&#x5E76;&#x540E;&#x7684;&#x65B9;&#x6CD5;&#x7684;&#x5B57;&#x8282;&#x7801;&#xFF0C;&#x4EC5;&#x5F53;<code>mixin.debug.verbose</code>&#x8BBE;&#x7F6E;&#x4E3A;<code>true</code>&#x65F6;&#x624D;&#x6709;&#x6548;</li>
</ul>
</li>
<li><p>&#x6BCF;&#x4E2A;&#x6CE8;&#x5165;&#x6CE8;&#x89E3;&#x4E0B;&#x7684;<code>expect</code>: &#x529F;&#x80FD;&#x548C;<code>require</code>&#x5C5E;&#x6027;&#x4E00;&#x81F4;&#xFF0C;&#x4E0D;&#x8FC7;&#x4EC5;&#x5F53;<code>mixin.debug.countInjections</code>&#x5C5E;&#x6027;&#x8BBE;&#x7F6E;&#x4E3A;<code>true</code>&#x65F6;&#x624D;&#x6709;&#x6548;&#xFF0C;&#x800C;&#x4E14;&#x8FD9;&#x4E2A;&#x5C5E;&#x6027;&#x9ED8;&#x8BA4;&#x503C;&#x662F;1&#xFF0C;&#x800C;&#x4E0D;&#x662F;<code>require</code>&#x7684;-1</p>
</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="5.7.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 扩展">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"调试","level":"1.8.8","depth":2,"next":{"title":"附录","level":"1.9","depth":1,"ref":"","articles":[{"title":"附录A 相关工具下载","level":"1.9.1","depth":2,"path":"附录A.md","ref":"附录A.md","articles":[]},{"title":"附录B 常见Java字节码指令表","level":"1.9.2","depth":2,"path":"附录B.md","ref":"附录B.md","articles":[]},{"title":"附录C 参考资料","level":"1.9.3","depth":2,"path":"附录C.md","ref":"附录C.md","articles":[]}]},"previous":{"title":"扩展","level":"1.8.7","depth":2,"path":"5.7.md","ref":"5.7.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"5.8.md","mtime":"2019-09-08T00:42:29.873Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-08T04:47:05.818Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

